import request from '@/utils/request'

// 查询支付查询日志列表
export function listChelog(query) {
  return request({
    url: '/log/chelog/list',
    method: 'get',
    params: query
  })
}

// 查询支付查询日志详细
export function getChelog(id) {
  return request({
    url: '/log/chelog/' + id,
    method: 'get'
  })
}

// 新增支付查询日志
export function addChelog(data) {
  return request({
    url: '/log/chelog',
    method: 'post',
    data: data
  })
}

// 修改支付查询日志
export function updateChelog(data) {
  return request({
    url: '/log/chelog',
    method: 'put',
    data: data
  })
}

// 删除支付查询日志
export function delChelog(id) {
  return request({
    url: '/log/chelog/' + id,
    method: 'delete'
  })
}
